<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
    </head>
    <body>
        <div id="app">
            <div>
                <ul>
                    <li v-for="item in names">{{item}}</li>
                </ul>
            </div>
            <div>
                <ul>
                    <li v-for="(item,index) in names">{{item}}, {{index}}</li>
                </ul>
            </div>
        </div>
        <script src="../js/vue.js"></script>
        <script>
            const app = new Vue({
                el: '#app',
                data: {
                    names: ['jack', 'rose', 'jerry', 'trump']
                }
            })
        </script>
    </body>
</html>
